<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

class DeveloperLink extends BaseModel
{
    protected  $table = 'testing_developer_link';

    protected $fillable = ['name','url','position','union_code'];

    public $timestamps = false;

    /**
     * 和开发者保持一对多的关系
     */
    public function developer(){
        $this->belongsTo(TestingDeveloper::class,'union_code');
    }

}
